<div class="modal-header">
    {{multiLan?('删除货架'|translate):'删除货架'}}
</div>
<div class="modal-body" style="padding-top: 30px;">
    <form class="form-horizontal" name="form" novalidate>
        <div class="form-group">
            <label class="col-xs-4 control-label">{{multiLan?('货架编号'|translate):'货架编号'}}：</label>
            <div class="col-xs-5">
                <input type="text" name="shelfNo" class="form-control" ng-model="shelfInfo.shelfNo"
                       ng-class="{'error': form.$invalid && submitted && !form.shelfNo.focused}" required>
            </div>
        </div>
        <div class="form-group m-b-none" ng-show="submitted && errMessage && !form.shelfNo.focused">
            <label class="col-xs-4 control-label"></label>
            <div class="col-xs-8">
                <span class="danger-color">{{multiLan?(errMessage|translate):errMessage}}</span>
            </div>
        </div>
        <div class="form-group m-b-xs">
            <label class="col-xs-4 control-label"></label>
            <div class="col-xs-8">
                <button type="submit" class="btn btn-primary btn-modal m-r-sm" ng-click="ok(form.$valid)">{{multiLan?('提交'|translate):'提交'}}</button>
                <button type="button" class="btn btn-default btn-modal" ng-click="cancel()">{{multiLan?('取消'|translate):'取消'}}</button>
            </div>
        </div>
    </form>
</div>